﻿using System.Linq;
using EYCmsAdmin.Domain.IDomainServices;
using EYCmsAdmin.Domain.Models;
using EYCmsAdmin.Domain.RepositoryInterfaces;

namespace EYCmsAdmin.Domain.DomainServices
{
    public class EducationInstitutionDomainService : BaseDomainService<EducationInstitution>, IEducationInstitutionDomainService
    {
        public EducationInstitutionDomainService(IEducationInstitutionRepository repository) : base(repository)
        {
        }

        public EducationInstitution GetEducationInstitution(int id)
        {
            var s = (IEducationInstitutionRepository) Repository;
            s.Test();
            return new EducationInstitution();
        }
    }
}